ADD_DEFINITIONS(-DSHOW_LOG)

SET(SRC_DIR .)
FILE(GLOB SOURCEFILES "${SRC_DIR}/*.C")

SET(CMAKE_CURRENT_SOURCE_DIR ".")

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/../bin)

INCLUDE_DIRECTORIES(
	"../../lib/glibc/include/glib-2.0"
	"../../lib/glibc/lib/glib-2.0/include")

LINK_DIRECTORIES("../../../lib/glibc/lib")

ADD_EXECUTABLE(server ${SOURCEFILES})

TARGET_LINK_LIBRARIES(server "-lws2_32" "-lglib-2.0.dll")


